package cn.yunhe.service;
import cn.yunhe.dao.AdminDao;
import cn.yunhe.dao.IAdminDao;
public class AdminService {
    IAdminDao adminDao=new AdminDao();
    public boolean searchUserByName(String name){
        int result= adminDao.searchUserByName(name);
        if(result>0){
            return true;
        }else {
            return false;
        }
    }
}
